
export function getLocation() {
    return new Promise((resolve, reject) => {
        uni.getLocation({
            type: "gcj02 ",
            isHighAccuracy: true,
            success(res) {
                resolve(res)
            },
            fail: function (err) {
                reject()
            }
        });
    })
}